﻿using Klear.Library.Models;

namespace Klear.Library.Services;

public interface IGlobalSearchService
{
    Task<IList<IncomeAndExpensesModel>> LoadIncomeAndExpensesAsync();//加载初始列表
    Task<IList<CategoryModel>> LoadCategoriesAsync();//加载类别（下拉选择器使用）
    Task<IList<IncomeAndExpensesModel>> LoadSearchResultsAsync(string title, decimal amount,
        string category, string notes, DateTime createDate);//加载搜索结果
    
}